#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <fstream>
#include <vector>

using namespace std;

int main()
{
	FILE* swap_file;
	swap_file = fopen("swap.csv", "r");

	FILE* libor_file;
	libor_file = fopen("libor.csv", "r");

	vector<int> swap_year;
	vector<double> swap_vec;

	vector<int> libor_year;
	vector<double> libor_vec;

	while (!feof(swap_file)) {
		int year;
		double num;

		fscanf(swap_file, "%d %lf", &year, &num);
		swap_year.push_back(year);
		swap_vec.push_back(num);
	}

	while (!feof(libor_file)) {
		int year;
		double num;

		fscanf(libor_file, "%d %lf", &year, &num);
		libor_year.push_back(year);
		libor_vec.push_back(num);
	}

	fclose(swap_file);
	fclose(libor_file);
}
